body {
    margin: 0;
    font-family: "Helvetica Neue", sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
}
/* 确保所有图片不会溢出 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.header {
    background-color: #fff;
    color: white;
    padding: 12px 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.menu-btn,
.search-btn {
    font-size: 22px;
    cursor: pointer;
    width: 40px;
    text-align: center;
    color: #CCCCCC;
    display: flex;
    align-items: center;
}
.search-btn {
    justify-content: flex-end;
}

.menu-btn > img {
    width: 20px;
}
.search-btn > img {
    width: 20px;
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #3D3D3D;
    /** 只显示一行 超出部分隐藏 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-content {
    width: 250px;
    background-color: #fff;
    height: 100vh;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.menu-content a {
    color: #3D3D3D;
    font-size: 16px;
}

.menu-item {
    font-size: 16px;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 5px;
}
.menu-item img {
    /*margin-right: 8px;*/
    /*width: 18px;*/
    text-align: center;
}


.left-menu .menu-item {
    padding: 16px 0px;
}

.left-menu .menu-item img {
    margin-right: 8px;
    /*width: 18px;*/
    text-align: center;
}
.menu-item >div {
    color: #666;
}

.menu-content .active {
    color: #B41111; /* 红色 */
    font-weight: bold;
}

/** 默认隐藏高亮的图片 */
.menu-content  a > img:nth-child(2) {
    display: none;
}

.menu-content  a.active > img:nth-child(1) {
    display: none;
}
.menu-content  a.active > img:nth-child(2) {
    display: block;
}


.menu-content .active {

}

.footer {

}

.footer p{
    text-align: center;
    font-size: 14px;
    color: #999999;
    padding: 0px 10px;
    line-height: 12px;
}

/* 通用白色背景块 */
.block-white {
    background-color: #ffffff;
    padding: 16px;
    margin: 10px 0;
    border-radius: 0px;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);*/
}

/* 通用灰色背景块 */
.block-gray {
    background-color: #f5f5f5;
    padding: 16px;
    margin: 10px 0;
    border-radius: 8px;
}


/**
通用标题
 */
.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0px 0 0px 0px;
}

.section-title img {
    max-width: 100%;
    object-fit: contain;
}

.title-text {
    font-size: 16px;
    color: #999999;
    /*font-weight: bold;*/
    text-align: center;
    margin-top: 10px;
}


.section-title {
    text-align: center;
    padding: 10px 10px 10px;
    background-color: #fff;
}

.title-cn {
    font-size: 21px;
    color: #B41111; /* 红色标题 */
    margin: 0;
    font-weight: bold;
}

.title-en {
    font-size: 13px;
    color: #888;
    margin: 4px 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/**
宫格
 */


/* 宫格容器为 2 行 × 4 列 */
.grid-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

/* 单个菜单项 */
.grid-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;   /* 水平居中 */
    justify-content: center; /* 垂直居中 */
    text-align: center;
    font-size: 14px;
    color: #333;
    border-radius: 10px 10px 10px 10px;
    border: 1px solid #E6E6E6;
}

/* 图标样式 */
.grid-menu .menu-item img {
    width: 35px;
    height: 35px;
    margin-bottom: 5px;
}


/**
企业列表
 */


/* 容器：两列布局 */
.enterprise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

.enterprise-list {
    display: flex;
    justify-content: space-between;
    padding: 0 0px; /* 两边留白 */
    gap: 10px;       /* 卡片之间间距 */
}

/* 单个企业卡片 */
.enterprise-item {
    position: relative;
    width: calc(50% - 5px);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}


/* 图片样式 */
.enterprise-item img {
    display: block;       /* 防止图片下方出现空隙 */
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* 底部标题栏（省略号） */
.enterprise-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6px 8px;
    margin: 0;             /* 防止默认 margin 影响 */
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}


.swiper-pagination-bullet-active {
    background: #b41111 !important;
}
